.class public Lcom/waiqin365/lightapp/sku/SKUCartActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/waiqin365/compons/view/d;
.implements Lcom/waiqin365/lightapp/product/a/ag;


# static fields
.field private static final m:Ljava/lang/String;


# instance fields
.field private A:Ljava/lang/String;

.field private B:Lcom/waiqin365/lightapp/view/dj;

.field private a:Landroid/widget/ImageView;

.field private b:Landroid/widget/TextView;

.field private c:Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;

.field private d:Lcom/waiqin365/lightapp/product/a/ac;

.field private e:Ljava/util/List;

.field private f:Landroid/widget/Button;

.field private g:Lcom/waiqin365/compons/view/c;

.field private h:Lcom/waiqin365/compons/view/c;

.field private i:Lcom/waiqin365/compons/view/c;

.field private j:Lcom/waiqin365/base/db/jxccache/g;

.field private k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

.field private l:Landroid/view/View;

.field private n:Landroid/view/View;

.field private o:Landroid/view/View;

.field private p:Z

.field private q:Z

.field private r:Landroid/view/View;

.field private s:Landroid/widget/EditText;

.field private t:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

.field private u:Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

.field private v:Lcom/waiqin365/lightapp/sku/c/a;

.field private w:Lcom/waiqin365/compons/view/c;

.field private x:Ljava/lang/String;

.field private y:Lcom/waiqin365/lightapp/sku/j;

.field private z:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 2

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    const v1, 0x7f08006f

    invoke-virtual {v0, v1}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getString(I)Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->m:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>()V
    .locals 6

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->e:Ljava/util/List;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->p:Z

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->q:Z

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->x:Ljava/lang/String;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->l(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string/jumbo v2, "yyyyMM"

    sget-object v3, Ljava/util/Locale;->CHINA:Ljava/util/Locale;

    invoke-direct {v1, v2, v3}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    new-instance v2, Ljava/util/Date;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    invoke-static {v0, v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;J)J

    move-result-wide v4

    invoke-direct {v2, v4, v5}, Ljava/util/Date;-><init>(J)V

    invoke-virtual {v1, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->z:Ljava/lang/String;

    new-instance v0, Lcom/waiqin365/lightapp/sku/i;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/sku/i;-><init>(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->B:Lcom/waiqin365/lightapp/view/dj;

    return-void
.end method

.method static synthetic A(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->p:Z

    return v0
.end method

.method private a()V
    .locals 4

    new-instance v0, Lcom/waiqin365/lightapp/product/a/ac;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->e:Ljava/util/List;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/product/a/ac;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->d:Lcom/waiqin365/lightapp/product/a/ac;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->d:Lcom/waiqin365/lightapp/product/a/ac;

    invoke-virtual {v0, p0}, Lcom/waiqin365/lightapp/product/a/ac;->a(Lcom/waiqin365/lightapp/product/a/ag;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->d:Lcom/waiqin365/lightapp/product/a/ac;

    new-instance v1, Lcom/waiqin365/lightapp/sku/a;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/sku/a;-><init>(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/ac;->a(Lcom/waiqin365/lightapp/product/a/af;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->c:Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->d:Lcom/waiqin365/lightapp/product/a/ac;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->c:Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;->setCacheColorHint(I)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->p:Z

    if-eqz v0, :cond_2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "cmId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "cmName"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "seniorVisitId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->A:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->f(Ljava/lang/String;)Z

    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->A:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->h(Ljava/lang/String;)Z

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/b/am;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "cmId"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "cmName"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "cmLocation"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setCmCustomerInfo(Lcom/waiqin365/lightapp/kehu/b/am;)V

    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v1

    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->A:Ljava/lang/String;

    invoke-virtual {v2, v0, v3}, Lcom/waiqin365/base/db/jxccache/f;->a(Lcom/waiqin365/lightapp/kehu/b/am;Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/a;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/jxccache/f;->a(Lcom/waiqin365/base/db/jxccache/a;)Z

    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->A:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/jxccache/f;->a(Ljava/lang/String;)Ljava/util/List;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v2}, Lcom/waiqin365/lightapp/sku/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/sku/d/a;

    move-result-object v2

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/sku/d/a;->a(Ljava/util/List;)I

    move-result v1

    if-nez v1, :cond_0

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->a(Ljava/lang/String;)V

    :cond_0
    :goto_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->c()V

    return-void

    :cond_1
    const v0, 0x7f0806ac

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->showToast(Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->back()V

    goto :goto_0

    :cond_2
    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->A:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->g(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/a;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    iget-object v2, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v2}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/waiqin365/base/db/jxccache/f;->b(Lcom/waiqin365/base/db/jxccache/a;)Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setCmCustomerInfo(Lcom/waiqin365/lightapp/kehu/b/am;)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->c()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/sku/SKUCartActivity;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->a(Ljava/lang/String;)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 3

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/sku/b/a/a;

    invoke-direct {v1, v0, p1}, Lcom/waiqin365/lightapp/sku/b/a/a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightapp/sku/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->y:Lcom/waiqin365/lightapp/sku/j;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/sku/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/sku/b/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/sku/b/b;->start()V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->A:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/sku/SKUCartActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->x:Ljava/lang/String;

    return-object p1
.end method

.method private b()V
    .locals 5

    const v4, 0x7f0c0513

    const v3, 0x7f0c0504

    const/16 v2, 0x8

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->h()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->d:Lcom/waiqin365/lightapp/product/a/ac;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->d:Lcom/waiqin365/lightapp/product/a/ac;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/ac;->notifyDataSetChanged()V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->e:Ljava/util/List;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_1

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_1
    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private c()V
    .locals 9

    const v8, 0x7f08078d

    const v7, 0x7f0804ab

    const v6, 0x7f0804aa

    const/4 v0, 0x0

    move v1, v0

    move v2, v0

    move v3, v0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->e:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->q()Ljava/lang/Boolean;

    move-result-object v4

    if-eqz v4, :cond_0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->q()Ljava/lang/Boolean;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v4

    if-nez v4, :cond_2

    :cond_0
    add-int/lit8 v3, v3, 0x1

    :cond_1
    :goto_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_2
    add-int/lit8 v2, v2, 0x1

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->r()Ljava/lang/Boolean;

    move-result-object v4

    if-eqz v4, :cond_1

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->r()Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_1

    add-int/lit8 v3, v3, 0x1

    goto :goto_1

    :cond_3
    const v0, 0x7f0c0b3f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v4, "  "

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    const-string/jumbo v5, "#ff9908"

    invoke-static {v5}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v5

    invoke-static {v1, v4, v5}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Landroid/text/SpannableStringBuilder;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0b40

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v7}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v4, "  "

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    const-string/jumbo v5, "#ff9908"

    invoke-static {v5}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v5

    invoke-static {v1, v4, v5}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Landroid/text/SpannableStringBuilder;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0b46

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v4, "  "

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v4, ""

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v4, "#ff9908"

    invoke-static {v4}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v4

    invoke-static {v1, v2, v4}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Landroid/text/SpannableStringBuilder;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0b47

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v7}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "  "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "#ff9908"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-static {v1, v2, v3}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Landroid/text/SpannableStringBuilder;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/sku/d/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->e:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/sku/d/a;->a(Ljava/util/List;)I

    move-result v0

    if-lez v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    sget-object v1, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->m:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->B:Lcom/waiqin365/lightapp/view/dj;

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setOnSelectClickDialog(Ljava/lang/String;Lcom/waiqin365/lightapp/view/dj;)V

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/sku/d/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->e:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/sku/d/a;->a(Ljava/util/List;)I

    move-result v0

    if-lez v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->f:Landroid/widget/Button;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v8}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v2}, Lcom/waiqin365/lightapp/sku/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/sku/d/a;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->e:Ljava/util/List;

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/sku/d/a;->a(Ljava/util/List;)I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    :goto_3
    return-void

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->B:Lcom/waiqin365/lightapp/view/dj;

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setOnSelectClickDialog(Ljava/lang/String;Lcom/waiqin365/lightapp/view/dj;)V

    goto :goto_2

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->f:Landroid/widget/Button;

    invoke-virtual {p0, v8}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto :goto_3
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private d()V
    .locals 8

    const v7, 0x7f0c0066

    const v3, 0x7f0c0b54

    const v6, 0x7f0806b1

    const/4 v2, 0x0

    const v0, 0x7f0c0b51

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->r:Landroid/view/View;

    const v0, 0x7f0c0b52

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->a:Landroid/widget/ImageView;

    const v0, 0x7f0c0b53

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->b:Landroid/widget/TextView;

    const v0, 0x7f0c0b3d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->u:Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

    const v0, 0x7f0c0533

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->f:Landroid/widget/Button;

    const v0, 0x7f0c0511

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->o:Landroid/view/View;

    const v0, 0x7f0c0b45

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setMustinput(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setBottomLineStatus(Z)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->p:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setEnabled(Z)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    new-instance v1, Lcom/waiqin365/lightapp/sku/b;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/sku/b;-><init>(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setOnCustomerSelectListener(Lcom/waiqin365/lightapp/view/di;)V

    const v0, 0x7f0c0502

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->n:Landroid/view/View;

    const v0, 0x7f0c0b3e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->c:Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;

    const v0, 0x7f0c067c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->l:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->c:Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->l:Landroid/view/View;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;->setEmptyView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->c:Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;->setHeaderDividersEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->u:Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

    new-instance v1, Lcom/waiqin365/lightapp/sku/c;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/sku/c;-><init>(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->setOnScrollListener(Lcom/waiqin365/lightapp/kehu/view/bn;)V

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const-string/jumbo v1, "#333333"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f0806a6

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->b:Landroid/widget/TextView;

    const v1, 0x7f08076e

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v0, Lcom/waiqin365/compons/view/c;

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const v1, 0x7f080246

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    move-object v1, p0

    move-object v5, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->g:Lcom/waiqin365/compons/view/c;

    new-instance v0, Lcom/waiqin365/compons/view/c;

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const v1, 0x7f0806cf

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/sku/d;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/sku/d;-><init>(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)V

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->h:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->h:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f080094

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1, v7}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->h:Lcom/waiqin365/compons/view/c;

    const-string/jumbo v1, "#ff9008"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1, v7}, Lcom/waiqin365/compons/view/c;->a(II)V

    new-instance v0, Lcom/waiqin365/compons/view/c;

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    sget v2, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v3, Lcom/waiqin365/lightapp/sku/e;

    invoke-direct {v3, p0}, Lcom/waiqin365/lightapp/sku/e;-><init>(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)V

    invoke-direct {v0, p0, v1, v2, v3}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->i:Lcom/waiqin365/compons/view/c;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->e()V

    new-instance v0, Lcom/waiqin365/compons/view/c;

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const v1, 0x7f08079b

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/sku/f;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/sku/f;-><init>(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)V

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->w:Lcom/waiqin365/compons/view/c;

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private e()V
    .locals 2

    const v0, 0x7f0c0b44

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->s:Landroid/widget/EditText;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->s:Landroid/widget/EditText;

    new-instance v1, Lcom/waiqin365/lightapp/sku/g;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/sku/g;-><init>(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    const v0, 0x7f0c0b42

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->t:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->t:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const v1, 0x7f080641

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->t:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setAllowSelect(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->t:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const v1, 0x7f08076e

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPhotoType(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->t:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setMustinput(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->t:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/lightapp/store/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/store/d/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/store/d/a;->b()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setMaxPic(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->t:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/lightapp/store/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/store/d/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/store/d/a;->c()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPwidth(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->t:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    new-instance v1, Lcom/waiqin365/lightapp/sku/h;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/sku/h;-><init>(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPicSizeChangeListener(Lcom/waiqin365/lightapp/view/fq;)V

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->t:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    return-object v0
.end method

.method private f()V
    .locals 4

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    iget-boolean v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->p:Z

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->v:Lcom/waiqin365/lightapp/sku/c/a;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "seniorVisitId"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/sku/c/a;->a:Ljava/lang/String;

    :cond_0
    new-instance v1, Lcom/waiqin365/lightapp/sku/b/a/d;

    iget-object v2, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->v:Lcom/waiqin365/lightapp/sku/c/a;

    iget-object v3, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->x:Ljava/lang/String;

    invoke-direct {v1, v0, v2, v3}, Lcom/waiqin365/lightapp/sku/b/a/d;-><init>(Ljava/lang/String;Lcom/waiqin365/lightapp/sku/c/a;Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightapp/sku/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->y:Lcom/waiqin365/lightapp/sku/j;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/sku/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/sku/b/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/sku/b/b;->start()V

    return-void
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->e:Ljava/util/List;

    return-object v0
.end method

.method private g()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->a:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0b54

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private h()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->A:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->a(Ljava/lang/String;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->e:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_0
    return-void
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->n:Landroid/view/View;

    return-object v0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->r:Landroid/view/View;

    return-object v0
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->o:Landroid/view/View;

    return-object v0
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    return-object v0
.end method

.method static synthetic m(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->h:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method static synthetic n(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->i:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method static synthetic o(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic p(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic q(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->h()V

    return-void
.end method

.method static synthetic r(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic s(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Lcom/waiqin365/lightapp/sku/c/a;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->v:Lcom/waiqin365/lightapp/sku/c/a;

    return-object v0
.end method

.method static synthetic t(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Landroid/widget/EditText;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->s:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic u(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->z:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic v(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->f()V

    return-void
.end method

.method static synthetic w(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->w:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method static synthetic x(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Landroid/widget/Button;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->f:Landroid/widget/Button;

    return-object v0
.end method

.method static synthetic y(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic z(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->b()V

    return-void
.end method


# virtual methods
.method public a(Lcom/waiqin365/base/db/jxccache/g;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->g:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    iput-object p1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->j:Lcom/waiqin365/base/db/jxccache/g;

    return-void
.end method

.method public back()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/sku/d/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->e:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/sku/d/a;->a(Ljava/util/List;)I

    move-result v0

    if-lez v0, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->p:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->i:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f080064

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->i:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->A:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->f(Ljava/lang/String;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->A:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->h(Ljava/lang/String;)Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->finish()V

    const v0, 0x7f040020

    const v1, 0x7f040023

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->overridePendingTransition(II)V

    goto :goto_0
.end method

.method public hasData(Lcom/fiberhome/gaea/client/a/c;)V
    .locals 4

    iget-object v0, p1, Lcom/fiberhome/gaea/client/a/c;->b:Ljava/lang/Object;

    check-cast v0, Ljava/util/List;

    if-eqz v0, :cond_0

    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->A:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/jxccache/f;->f(Ljava/lang/String;)Z

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    iget-object v2, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->A:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/db/jxccache/g;->k(Ljava/lang/String;)V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/db/jxccache/g;->b(Ljava/lang/Long;)V

    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Lcom/waiqin365/base/db/jxccache/g;)J

    goto :goto_0

    :cond_0
    return-void
.end method

.method public onBackPressed()V
    .locals 0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->back()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 8

    const v7, 0x7f040022

    const v6, 0x7f040021

    const/4 v5, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->back()V

    goto :goto_0

    :sswitch_1
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/sku/SKUListActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v7, v6}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->overridePendingTransition(II)V

    goto :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/sku/d/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->e:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/sku/d/a;->a(Ljava/util/List;)I

    move-result v0

    if-nez v0, :cond_0

    const v0, 0x7f080787

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->showToast(Ljava/lang/String;)V

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->d:Lcom/waiqin365/lightapp/product/a/ac;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/ac;->a()Z

    move-result v0

    if-eqz v0, :cond_1

    const v0, 0x7f0802cf

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->showToast(Ljava/lang/String;)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->t:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->o()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_2

    const v0, 0x7f0805a5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->showToast(Ljava/lang/String;)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->A:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->g(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/a;

    move-result-object v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->w:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->f:Landroid/widget/Button;

    invoke-virtual {v0, v5}, Landroid/widget/Button;->setEnabled(Z)V

    goto :goto_0

    :cond_3
    const v0, 0x7f08072c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->showToast(Ljava/lang/String;)V

    goto :goto_0

    :sswitch_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->A:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->g(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/a;

    move-result-object v0

    if-nez v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->h:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto/16 :goto_0

    :cond_4
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    new-instance v1, Lcom/waiqin365/lightapp/product/d/g;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/product/d/g;-><init>()V

    sget-object v2, Lcom/waiqin365/lightapp/product/s;->e:Lcom/waiqin365/lightapp/product/s;

    iput-object v2, v1, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    iput-boolean v5, v1, Lcom/waiqin365/lightapp/product/d/g;->j:Z

    const-string/jumbo v2, ""

    iput-object v2, v1, Lcom/waiqin365/lightapp/product/d/g;->m:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v2}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->A:Ljava/lang/String;

    invoke-virtual {v2, v3}, Lcom/waiqin365/base/db/jxccache/f;->g(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/a;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/a;->a()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/product/d/g;->c:Ljava/lang/String;

    const/4 v2, 0x1

    iput-boolean v2, v1, Lcom/waiqin365/lightapp/product/d/g;->f:Z

    iget-object v2, v1, Lcom/waiqin365/lightapp/product/d/g;->i:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->clear()V

    iput-boolean v5, v1, Lcom/waiqin365/lightapp/product/d/g;->k:Z

    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->A:Ljava/lang/String;

    invoke-virtual {v2, v3}, Lcom/waiqin365/base/db/jxccache/f;->a(Ljava/lang/String;)Ljava/util/List;

    move-result-object v2

    if-eqz v2, :cond_5

    iget-object v2, v1, Lcom/waiqin365/lightapp/product/d/g;->i:Ljava/util/List;

    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->A:Ljava/lang/String;

    invoke-virtual {v3, v4}, Lcom/waiqin365/base/db/jxccache/f;->a(Ljava/lang/String;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v2, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_5
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/product/d/g;->e:Ljava/lang/Class;

    new-instance v2, Lcom/waiqin365/lightapp/product/d/j;

    invoke-direct {v2}, Lcom/waiqin365/lightapp/product/d/j;-><init>()V

    iput-object v2, v1, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v2, v1, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iput-boolean v5, v2, Lcom/waiqin365/lightapp/product/d/j;->m:Z

    iput-boolean v5, v1, Lcom/waiqin365/lightapp/product/d/g;->a:Z

    const-string/jumbo v2, "param"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v7, v6}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->overridePendingTransition(II)V

    goto/16 :goto_0

    :sswitch_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->j:Lcom/waiqin365/base/db/jxccache/g;

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->j:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->c(Lcom/waiqin365/base/db/jxccache/g;)Z

    move-result v0

    if-eqz v0, :cond_7

    invoke-direct {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->c()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->b()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->c:Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;->a()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->u:Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->a()V

    :cond_6
    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->g:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    goto/16 :goto_0

    :cond_7
    const v0, 0x7f080244

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->showToast(Ljava/lang/String;)V

    goto :goto_1

    :sswitch_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->g:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    goto/16 :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c0064 -> :sswitch_5
        0x7f0c0066 -> :sswitch_4
        0x7f0c0504 -> :sswitch_3
        0x7f0c0513 -> :sswitch_3
        0x7f0c0533 -> :sswitch_2
        0x7f0c067c -> :sswitch_3
        0x7f0c0b52 -> :sswitch_0
        0x7f0c0b54 -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f030231

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isSeniorVisit"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->p:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->p:Z

    if-eqz v0, :cond_0

    const-string/jumbo v0, "sku_sv_cache"

    :goto_0
    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->A:Ljava/lang/String;

    new-instance v0, Lcom/waiqin365/lightapp/sku/j;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/sku/j;-><init>(Lcom/waiqin365/lightapp/sku/SKUCartActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->y:Lcom/waiqin365/lightapp/sku/j;

    new-instance v0, Lcom/waiqin365/lightapp/sku/c/a;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/sku/c/a;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->v:Lcom/waiqin365/lightapp/sku/c/a;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->d()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->g()V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/fiberhome/gaea/client/a/b;->addObserver(Ljava/util/Observer;)V

    return-void

    :cond_0
    const-string/jumbo v0, "sku_cache"

    goto :goto_0
.end method

.method protected onResume()V
    .locals 1

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onResume()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->d:Lcom/waiqin365/lightapp/product/a/ac;

    if-eqz v0, :cond_0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->b()V

    :goto_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->c()V

    return-void

    :cond_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->h()V

    goto :goto_0
.end method

.method public onWindowFocusChanged(Z)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->q:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->b(Z)V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->q:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/SKUCartActivity;->u:Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

    const/16 v1, 0x21

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->fullScroll(I)Z

    :cond_0
    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onWindowFocusChanged(Z)V

    return-void
.end method
